package co.fitstart.admin.handler;

import com.demo2do.core.support.Result;

import co.fitstart.entity.order.Order;

/**
 * 
 * @author mohanlan
 *
 */
public interface PaymentHandler {
    
    /**
     * 
     * @param orderNo
     * @param customerId
     * @param amount
     * @param requestNo
     * @param channel
     * @return
     */
    public Result payOrder(String orderNo, Long customerId, int amount, String requestNo, String channel);
    
    /**
     * 
     * @param order
     * @param orderNo
     * @param customerId
     * @param amount
     * @param requestNo
     * @param channel
     * @param orderNumber
     * @return
     */
    public Result payOrder(Order order, String orderNo, Long customerId, int amount, String requestNo, String channel, String orderNumber);
    
}
